WSAL\WP_Sensors\Helpers\Woocommerce_Helper A

Total Complexity 61
Dependencies 4
Dependents 4
Total lines 535
Lines of code 266
Logical lines of code 109
Comment lines 220
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
wsal_woocommerce_extension_get_order_title()
A
50 12 25
wsal_woocommerce_extension_get_editor_link()
A
47 8 38
wsal_woocommerce_extension_append_content_to_toggle()
S
48 6 42
wsal_woocommerce_extension_togglealerts_js_code()
S
56 5 21
wsal_woocommerce_extension_togglealerts_sub_category_titles()
S
59 5 15
wsal_woocommerce_extension_add_custom_meta_format()
S
60 4 13
save_settings_disabled_events()
S
60 4 12
wsal_woocommerce_extension_detect_file_download()
S
60 2 14
is_woocommerce_user_meta()
S
64 2 8
get_taxonomy_edit_link()
S
66 2 8
create_webhook_editor_link()
S
62 1 13
wsal_woocommerce_extension_add_custom_event_objects()
S
61 1 12
get_custom_post_types()
S
66 1 10
is_woocommerce_active()
S
80 1 3
wsal_woocommerce_extension_togglealerts_process_save_settings()
S
78 1 3
wsal_woocommerce_extension_togglealerts_obsolete_events()
S
72 1 5
wsal_woocommerce_extension_togglealerts_sub_category_events()
S
72 1 5
wsal_woocommerce_extension_load_public_sensors()
S
76 1 4
wsal_woocommerce_extension_add_custom_ignored_cpt()
S
72 1 5
wsal_woocommerce_extension_add_custom_event_type()
S
68 1 7
get_plugin_filename()
S
81 1 3